/*
 * Creation : 24/09/2013
 */
/**
 * 
 */
package com.test.japcatalog.dao;

import static org.junit.Assert.fail;

import java.util.Collection;

import junit.framework.Assert;

import org.junit.Test;

import com.japcatalog.dao.TrademarkDao;
import com.japcatalog.dao.impl.TrademarkDaoImpl;
import com.japcatalog.model.Trademark;

/**
 * The Class TrademarkDaoTestCase.
 * 
 * @author Fernando Ariel Perelli
 */
public class TrademarkDaoTestCase {

	private TrademarkDao trademarkDao;

	/**
	 * Getter trademarkDao
	 * 
	 * @return the trademarkDao
	 */
	public TrademarkDao getTrademarkDao() {
		return trademarkDao;
	}

	/**
	 * Setter trademarkDao
	 * 
	 * @param trademarkDao
	 *            the trademarkDao to set
	 */
	public void setTrademarkDao(TrademarkDao trademarkDao) {
		this.trademarkDao = trademarkDao;
	}

	/**
	 * Test method for.
	 * 
	 * {@link com.japcatalog.dao.impl.TrademarkDaoImpl#findAll()}.
	 */
	@Test
	public void testFindAll() {
		setTrademarkDao(new TrademarkDaoImpl());
		Collection<Trademark> trademarks = getTrademarkDao().findAll();
		Assert.assertNull("The collection is empty", trademarks);
	}

	/**
	 * Test method for.
	 * 
	 * {@link com.japcatalog.dao.impl.TrademarkDaoImpl#findById(java.lang.Long)}
	 * .
	 */
	@Test
	public void testFindById() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for.
	 * 
	 * {@link com.japcatalog.dao.impl.TrademarkDaoImpl#create(com.japcatalog.model.Trademark)}
	 * .
	 */
	@Test
	public void testCreate() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for.
	 * 
	 * {@link com.japcatalog.dao.impl.TrademarkDaoImpl#update(com.japcatalog.model.Trademark)}
	 * .
	 */
	@Test
	public void testUpdate() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for.
	 * 
	 * {@link com.japcatalog.dao.impl.TrademarkDaoImpl#delete(com.japcatalog.model.Trademark)}
	 * .
	 */
	@Test
	public void testDeleteTrademark() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for.
	 * 
	 * {@link com.japcatalog.dao.impl.TrademarkDaoImpl#delete(java.lang.Long)}.
	 */
	@Test
	public void testDeleteLong() {
		fail("Not yet implemented");
	}

}
